{% extends 'EchecsadminBundle:Admin:index.html.twig' %}


{% block content %}
<form action="{{path('_edit_page') }}" method="post" {{ form_enctype (form)}}>
    
{{page.nomPage}}
    
{{ form_errors(form.contenu) }}
{{ form_label(form.contenu, 'Contenu de la page'|trans) }}
{{ form_widget(form.contenu) }}
<br>

{{ form_errors(form.ordre) }}
{{ form_label(form.ordre, 'Ordre d\'affichage dans la barre de navigation'|trans) }}
{{ form_widget(form.ordre) }}

{{ form_rest (form) }}
<br>
	<input type="submit" />
</form>
{% endblock %}
